package com.onemore.task;

import java.io.File;
import java.util.Properties;
import org.voovan.tools.TFile;
import org.voovan.tools.TProperties;
public class OneConfig{
	public static Properties druidProperites;
	public static Properties getProperties()
	{
		if(druidProperites == null)
		{
			String druidpath = TFile.getSystemPath("conf" + File.separator + "onemore.properties");
	        druidProperites = TProperties.getProperties(new File(druidpath));
		}
		return druidProperites;
	}
}
